<?php

class Application_Model_Class extends Child_Model
{
    public function __construct($id = NULL, $fieldName = null, $field=null) {
        parent::__construct(new Application_Model_DbTable_Classes(), $id, $fieldName, $field);
    }
    
    public function getClasses($id)
    {   
        $select = $this->_dbTable->select();
        $select->where('Business_id = ?', $id);
        return $this->_row = $this->_dbTable->fetchAll($select);
    }
}

